package com.wn.config;

import org.springframework.context.annotation.ComponentScan;
import org.springframework.context.annotation.Configuration;
import org.springframework.web.servlet.config.annotation.EnableWebMvc;

/**
 * @author yellow Docter
 * @date 2022 -07-11
 * @desc
 *
 * json2中:
 *   键值对集合: {
 *              "key1":"val1",
 *              "key2":"val2",
 *   }
 *
 *   数组:       ["v1","v2","v3"]
 *
 */
@ComponentScan("com.wn.controller")
@Configuration
//开启json数据类型自动转换
@EnableWebMvc
public class SpringMvcConfig {


}
